function http({
  url,
  success
}){
  wx.request({
    url,
    dataType: "json",
    header: {"content-type":"application"},
    method: "GET",
    responseType: "text",
    success: (res) => success(res),
  })
}
module.exports = {
  http
}